package com.ahm.mapper;

import com.ahm.base.BaseMapper;
import com.ahm.bean.Permission;

import java.util.ArrayList;
import java.util.List;

public interface PermissionMapper  extends BaseMapper<Permission,Integer> {

    int selectModuleCountByRoleId(Integer roleId);

    int deleteByRoleIdFromPermission(Integer roleId);

    int insertPermissions(ArrayList<Permission> permissions);

    List<String> selectVclValueByUserId(Integer userId);
}